package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.SetmealDto;
import com.itheima.po.Category;
import com.itheima.po.Setmeal;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
        void saveWithDish(SetmealDto setmealDto);
        void deleteWithDish(Long[] ids);


    @Transactional
    void deleteWithDish(List<Long> ids);
}
